phosphor-stackedpanel

A Phosphor layout widget where only one child is visible at a time.
API Docs
Package Install
Prerequisites
npm install --save phosphor-stackedpanel
Source Build
Prerequisites
git clone https://github.com/phosphorjs/phosphor-stackedpanel.git
cd phosphor-stackedpanel
npm install
Rebuild
npm run clean
npm run build
Run Tests
Follow the source build instructions first.
npm test
npm run test:chrome
npm run test:ie
Build Docs
Follow the source build instructions first.
npm run docs
Navigate to docs/index.html
.
Build Example
Follow the source build instructions first.
npm run build:example
Navigate to example/index.html
.
Supported Runtimes
The runtime versions which are currently known to work are listed below.
Earlier versions may also work, but come with no guarantees.
- IE 11+
- Firefox 32+
- Chrome 38+
Bundle for the Browser
Follow the package install instructions first.
npm install --save-dev browserify browserify-css
browserify myapp.js -o mybundle.js
Usage Examples
Note: This module is fully compatible with Node/Babel/ES6/ES5. Simply
omit the type declarations when using a language other than TypeScript.